package com.flowcloud.kafka.constant;

/**
 * @Author:huangbingbing
 * @Date：Created on 2020/8/20 08:41
 * Description:
 */
public interface KafkaTopicConstants {
    /**
     * 消息中心， 告警消息topic
     */
    String MESSAGE_CENTER_WARN_MESSAGE_TOPIC = "message-center-warn-message-topic";

	/**
	 * 消息中心， 告警消息内部数据汇总topic
	 */
	String MESSAGE_CENTER_WARN_MESSAGE_INNER_SUMMARY_TOPIC = "message-center-warn-message-inner-summary-topic";


	/**
	 * 基础信息,访问日志topic
	 */
	String BASIC_INFO_OPERATION_LOG_TOPIC = "basic-info-operation-log-topic";

	/**
	 * 岗位删除消息
	 */
	String BASIC_INFO_WORKPOSITION_DELETE_TOPIC = "basic-info-workposition-delete-topic";

	/**
	 * 人员删除消息
	 */
	String BASIC_INFO_PERSONNEL_DELETE_TOPIC = "basic-info-personnel-delete-topic";

	/**
	 * 操作日志
	 */
	String SYSTEM_BASE_API_LOG_TOPIC = "system-base-api-log-topic";
	/**
	 * 错误日志
	 */
	String SYSTEM_BASE_ERROR_LOG_TOPIC = "system-base-error-log-topic";
	/**
	 * 通用日志
	 */
	String SYSTEM_BASE_USUAL_LOG_TOPIC = "system-base-usual-log-topic";


	/**
	 * 定位引擎， 实时定位数据topic
	 */
	String LOCATION_ENGINE_REALTIME_LOCATION_TOPIC = "location-engine-realtime-location-topic";

	/**
	 * 定位引擎， 外部对接实时定位数据topic
	 */
    String LOCATION_ENGINE_EXTERN_REALTIME_LOCATION_TOPIC = "location-engine-extern-realtime-location-topic";

	/**
	 * 定位管理， 人员进出记录topic
	 */
	String LOCATION_MGMT_PERSONNEL_ENTER_RECORD_TOPIC = "location-mgmt-personnel-enter-record-topic";

	/**
	 * 定位管理， 人员进出记录topic
	 */
	String LOCATION_MGMT_VEHICLE_ENTER_RECORD_TOPIC = "location-mgmt-vehicle-enter-record-topic";

    /**
     * location-mgmt, 车辆定位消息监听控制（开始监听，结束监听）topic
     * 消息格式： 车牌||颜色(1蓝色 2黄色 3黑色 4白色 5绿色 6黄绿色 9其他)||状态(1监听开始 2监听结束)||时间戳(监听时间 UTC+0)
     * 样例：
     * 开始监听(2020-11-01 09:00:00)： 苏D71588||2||1||1604163600000
     * 结束监听(2020-11-01 11:00:00)： 苏D71588||2||2||1604170800000
     */
    String LOCATION_MGMT_VEHICLE_CROSS_NOTIFY_TOPIC = "vehicle_cross_notify_msg";

	/**
	 * 消息中心，自定义消费的入口topic
	 */
	String MESSAGE_CENTER_ENTRANCE_TOPIC = "message-center-entrance-topic";

	/**
	 * 消息中心，内部数据topic
	 */
	String MESSAGE_CENTER_WEBSOCKET_TOPIC = "message-center-websocket-topic";
	/**
	 * 值守中心 告警topic
	 */
	String EMERGENCY_MGMT_ALARM_TOPIC = "emergency-mgmt-alarm-topic";
	/**
	 * 设备管理 心跳topic
	 */
	String DEVICE_MGMT_HEARTBEAT_TOPIC = "gateway.*.publish.heartbeat";
	/**
	 * 设备管理 状态topic
	 */
	String DEVICE_MGMT_STATUS_TOPIC = "gateway.*.publish.status";
	/**
	 * 设备管理 ACK topic
	 */
	String DEVICE_MGMT_ACK_TOPIC = "gateway.*.publish.ack";



	/**
	 * 关联数据变更topic
	 */
	String ASSOC_DATA_MODIFY_TOPIC = "assoc-data-modify-topic";
}
